package com.lwlk.zdk.model.T;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TDisVehicleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TDisVehicleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andVehicleIdIsNull() {
            addCriterion("vehicle_id is null");
            return (Criteria) this;
        }

        public Criteria andVehicleIdIsNotNull() {
            addCriterion("vehicle_id is not null");
            return (Criteria) this;
        }

        public Criteria andVehicleIdEqualTo(Integer value) {
            addCriterion("vehicle_id =", value, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdNotEqualTo(Integer value) {
            addCriterion("vehicle_id <>", value, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdGreaterThan(Integer value) {
            addCriterion("vehicle_id >", value, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("vehicle_id >=", value, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdLessThan(Integer value) {
            addCriterion("vehicle_id <", value, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdLessThanOrEqualTo(Integer value) {
            addCriterion("vehicle_id <=", value, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdIn(List<Integer> values) {
            addCriterion("vehicle_id in", values, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdNotIn(List<Integer> values) {
            addCriterion("vehicle_id not in", values, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdBetween(Integer value1, Integer value2) {
            addCriterion("vehicle_id between", value1, value2, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleIdNotBetween(Integer value1, Integer value2) {
            addCriterion("vehicle_id not between", value1, value2, "vehicleId");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberIsNull() {
            addCriterion("vehicle_number is null");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberIsNotNull() {
            addCriterion("vehicle_number is not null");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberEqualTo(String value) {
            addCriterion("vehicle_number =", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberNotEqualTo(String value) {
            addCriterion("vehicle_number <>", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberGreaterThan(String value) {
            addCriterion("vehicle_number >", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberGreaterThanOrEqualTo(String value) {
            addCriterion("vehicle_number >=", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberLessThan(String value) {
            addCriterion("vehicle_number <", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberLessThanOrEqualTo(String value) {
            addCriterion("vehicle_number <=", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberLike(String value) {
            addCriterion("vehicle_number like", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberNotLike(String value) {
            addCriterion("vehicle_number not like", value, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberIn(List<String> values) {
            addCriterion("vehicle_number in", values, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberNotIn(List<String> values) {
            addCriterion("vehicle_number not in", values, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberBetween(String value1, String value2) {
            addCriterion("vehicle_number between", value1, value2, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andVehicleNumberNotBetween(String value1, String value2) {
            addCriterion("vehicle_number not between", value1, value2, "vehicleNumber");
            return (Criteria) this;
        }

        public Criteria andSimIsNull() {
            addCriterion("sim is null");
            return (Criteria) this;
        }

        public Criteria andSimIsNotNull() {
            addCriterion("sim is not null");
            return (Criteria) this;
        }

        public Criteria andSimEqualTo(String value) {
            addCriterion("sim =", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimNotEqualTo(String value) {
            addCriterion("sim <>", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimGreaterThan(String value) {
            addCriterion("sim >", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimGreaterThanOrEqualTo(String value) {
            addCriterion("sim >=", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimLessThan(String value) {
            addCriterion("sim <", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimLessThanOrEqualTo(String value) {
            addCriterion("sim <=", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimLike(String value) {
            addCriterion("sim like", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimNotLike(String value) {
            addCriterion("sim not like", value, "sim");
            return (Criteria) this;
        }

        public Criteria andSimIn(List<String> values) {
            addCriterion("sim in", values, "sim");
            return (Criteria) this;
        }

        public Criteria andSimNotIn(List<String> values) {
            addCriterion("sim not in", values, "sim");
            return (Criteria) this;
        }

        public Criteria andSimBetween(String value1, String value2) {
            addCriterion("sim between", value1, value2, "sim");
            return (Criteria) this;
        }

        public Criteria andSimNotBetween(String value1, String value2) {
            addCriterion("sim not between", value1, value2, "sim");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorIsNull() {
            addCriterion("vehicle_license_color is null");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorIsNotNull() {
            addCriterion("vehicle_license_color is not null");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorEqualTo(Short value) {
            addCriterion("vehicle_license_color =", value, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNotEqualTo(Short value) {
            addCriterion("vehicle_license_color <>", value, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorGreaterThan(Short value) {
            addCriterion("vehicle_license_color >", value, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorGreaterThanOrEqualTo(Short value) {
            addCriterion("vehicle_license_color >=", value, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorLessThan(Short value) {
            addCriterion("vehicle_license_color <", value, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorLessThanOrEqualTo(Short value) {
            addCriterion("vehicle_license_color <=", value, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorIn(List<Short> values) {
            addCriterion("vehicle_license_color in", values, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNotIn(List<Short> values) {
            addCriterion("vehicle_license_color not in", values, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorBetween(Short value1, Short value2) {
            addCriterion("vehicle_license_color between", value1, value2, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNotBetween(Short value1, Short value2) {
            addCriterion("vehicle_license_color not between", value1, value2, "vehicleLicenseColor");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNameIsNull() {
            addCriterion("vehicle_license_color_name is null");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNameIsNotNull() {
            addCriterion("vehicle_license_color_name is not null");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNameEqualTo(String value) {
            addCriterion("vehicle_license_color_name =", value, "vehicleLicenseColorName");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNameNotEqualTo(String value) {
            addCriterion("vehicle_license_color_name <>", value, "vehicleLicenseColorName");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNameGreaterThan(String value) {
            addCriterion("vehicle_license_color_name >", value, "vehicleLicenseColorName");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNameGreaterThanOrEqualTo(String value) {
            addCriterion("vehicle_license_color_name >=", value, "vehicleLicenseColorName");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNameLessThan(String value) {
            addCriterion("vehicle_license_color_name <", value, "vehicleLicenseColorName");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNameLessThanOrEqualTo(String value) {
            addCriterion("vehicle_license_color_name <=", value, "vehicleLicenseColorName");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNameLike(String value) {
            addCriterion("vehicle_license_color_name like", value, "vehicleLicenseColorName");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNameNotLike(String value) {
            addCriterion("vehicle_license_color_name not like", value, "vehicleLicenseColorName");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNameIn(List<String> values) {
            addCriterion("vehicle_license_color_name in", values, "vehicleLicenseColorName");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNameNotIn(List<String> values) {
            addCriterion("vehicle_license_color_name not in", values, "vehicleLicenseColorName");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNameBetween(String value1, String value2) {
            addCriterion("vehicle_license_color_name between", value1, value2, "vehicleLicenseColorName");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenseColorNameNotBetween(String value1, String value2) {
            addCriterion("vehicle_license_color_name not between", value1, value2, "vehicleLicenseColorName");
            return (Criteria) this;
        }

        public Criteria andIndustryIdIsNull() {
            addCriterion("industry_id is null");
            return (Criteria) this;
        }

        public Criteria andIndustryIdIsNotNull() {
            addCriterion("industry_id is not null");
            return (Criteria) this;
        }

        public Criteria andIndustryIdEqualTo(Integer value) {
            addCriterion("industry_id =", value, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdNotEqualTo(Integer value) {
            addCriterion("industry_id <>", value, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdGreaterThan(Integer value) {
            addCriterion("industry_id >", value, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("industry_id >=", value, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdLessThan(Integer value) {
            addCriterion("industry_id <", value, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdLessThanOrEqualTo(Integer value) {
            addCriterion("industry_id <=", value, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdIn(List<Integer> values) {
            addCriterion("industry_id in", values, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdNotIn(List<Integer> values) {
            addCriterion("industry_id not in", values, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdBetween(Integer value1, Integer value2) {
            addCriterion("industry_id between", value1, value2, "industryId");
            return (Criteria) this;
        }

        public Criteria andIndustryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("industry_id not between", value1, value2, "industryId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNull() {
            addCriterion("enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNotNull() {
            addCriterion("enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdEqualTo(Integer value) {
            addCriterion("enterprise_id =", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotEqualTo(Integer value) {
            addCriterion("enterprise_id <>", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThan(Integer value) {
            addCriterion("enterprise_id >", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("enterprise_id >=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThan(Integer value) {
            addCriterion("enterprise_id <", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThanOrEqualTo(Integer value) {
            addCriterion("enterprise_id <=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIn(List<Integer> values) {
            addCriterion("enterprise_id in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotIn(List<Integer> values) {
            addCriterion("enterprise_id not in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdBetween(Integer value1, Integer value2) {
            addCriterion("enterprise_id between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotBetween(Integer value1, Integer value2) {
            addCriterion("enterprise_id not between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIsNull() {
            addCriterion("organization_id is null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIsNotNull() {
            addCriterion("organization_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdEqualTo(Integer value) {
            addCriterion("organization_id =", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotEqualTo(Integer value) {
            addCriterion("organization_id <>", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdGreaterThan(Integer value) {
            addCriterion("organization_id >", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("organization_id >=", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLessThan(Integer value) {
            addCriterion("organization_id <", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLessThanOrEqualTo(Integer value) {
            addCriterion("organization_id <=", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIn(List<Integer> values) {
            addCriterion("organization_id in", values, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotIn(List<Integer> values) {
            addCriterion("organization_id not in", values, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdBetween(Integer value1, Integer value2) {
            addCriterion("organization_id between", value1, value2, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotBetween(Integer value1, Integer value2) {
            addCriterion("organization_id not between", value1, value2, "organizationId");
            return (Criteria) this;
        }

        public Criteria andRegionIdIsNull() {
            addCriterion("region_id is null");
            return (Criteria) this;
        }

        public Criteria andRegionIdIsNotNull() {
            addCriterion("region_id is not null");
            return (Criteria) this;
        }

        public Criteria andRegionIdEqualTo(Integer value) {
            addCriterion("region_id =", value, "regionId");
            return (Criteria) this;
        }

        public Criteria andRegionIdNotEqualTo(Integer value) {
            addCriterion("region_id <>", value, "regionId");
            return (Criteria) this;
        }

        public Criteria andRegionIdGreaterThan(Integer value) {
            addCriterion("region_id >", value, "regionId");
            return (Criteria) this;
        }

        public Criteria andRegionIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("region_id >=", value, "regionId");
            return (Criteria) this;
        }

        public Criteria andRegionIdLessThan(Integer value) {
            addCriterion("region_id <", value, "regionId");
            return (Criteria) this;
        }

        public Criteria andRegionIdLessThanOrEqualTo(Integer value) {
            addCriterion("region_id <=", value, "regionId");
            return (Criteria) this;
        }

        public Criteria andRegionIdIn(List<Integer> values) {
            addCriterion("region_id in", values, "regionId");
            return (Criteria) this;
        }

        public Criteria andRegionIdNotIn(List<Integer> values) {
            addCriterion("region_id not in", values, "regionId");
            return (Criteria) this;
        }

        public Criteria andRegionIdBetween(Integer value1, Integer value2) {
            addCriterion("region_id between", value1, value2, "regionId");
            return (Criteria) this;
        }

        public Criteria andRegionIdNotBetween(Integer value1, Integer value2) {
            addCriterion("region_id not between", value1, value2, "regionId");
            return (Criteria) this;
        }

        public Criteria andClientCodeIsNull() {
            addCriterion("client_code is null");
            return (Criteria) this;
        }

        public Criteria andClientCodeIsNotNull() {
            addCriterion("client_code is not null");
            return (Criteria) this;
        }

        public Criteria andClientCodeEqualTo(Integer value) {
            addCriterion("client_code =", value, "clientCode");
            return (Criteria) this;
        }

        public Criteria andClientCodeNotEqualTo(Integer value) {
            addCriterion("client_code <>", value, "clientCode");
            return (Criteria) this;
        }

        public Criteria andClientCodeGreaterThan(Integer value) {
            addCriterion("client_code >", value, "clientCode");
            return (Criteria) this;
        }

        public Criteria andClientCodeGreaterThanOrEqualTo(Integer value) {
            addCriterion("client_code >=", value, "clientCode");
            return (Criteria) this;
        }

        public Criteria andClientCodeLessThan(Integer value) {
            addCriterion("client_code <", value, "clientCode");
            return (Criteria) this;
        }

        public Criteria andClientCodeLessThanOrEqualTo(Integer value) {
            addCriterion("client_code <=", value, "clientCode");
            return (Criteria) this;
        }

        public Criteria andClientCodeIn(List<Integer> values) {
            addCriterion("client_code in", values, "clientCode");
            return (Criteria) this;
        }

        public Criteria andClientCodeNotIn(List<Integer> values) {
            addCriterion("client_code not in", values, "clientCode");
            return (Criteria) this;
        }

        public Criteria andClientCodeBetween(Integer value1, Integer value2) {
            addCriterion("client_code between", value1, value2, "clientCode");
            return (Criteria) this;
        }

        public Criteria andClientCodeNotBetween(Integer value1, Integer value2) {
            addCriterion("client_code not between", value1, value2, "clientCode");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("del_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("del_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(Short value) {
            addCriterion("del_flag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(Short value) {
            addCriterion("del_flag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(Short value) {
            addCriterion("del_flag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(Short value) {
            addCriterion("del_flag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(Short value) {
            addCriterion("del_flag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(Short value) {
            addCriterion("del_flag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<Short> values) {
            addCriterion("del_flag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<Short> values) {
            addCriterion("del_flag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(Short value1, Short value2) {
            addCriterion("del_flag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(Short value1, Short value2) {
            addCriterion("del_flag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andOperationStatusIsNull() {
            addCriterion("operation_status is null");
            return (Criteria) this;
        }

        public Criteria andOperationStatusIsNotNull() {
            addCriterion("operation_status is not null");
            return (Criteria) this;
        }

        public Criteria andOperationStatusEqualTo(Integer value) {
            addCriterion("operation_status =", value, "operationStatus");
            return (Criteria) this;
        }

        public Criteria andOperationStatusNotEqualTo(Integer value) {
            addCriterion("operation_status <>", value, "operationStatus");
            return (Criteria) this;
        }

        public Criteria andOperationStatusGreaterThan(Integer value) {
            addCriterion("operation_status >", value, "operationStatus");
            return (Criteria) this;
        }

        public Criteria andOperationStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("operation_status >=", value, "operationStatus");
            return (Criteria) this;
        }

        public Criteria andOperationStatusLessThan(Integer value) {
            addCriterion("operation_status <", value, "operationStatus");
            return (Criteria) this;
        }

        public Criteria andOperationStatusLessThanOrEqualTo(Integer value) {
            addCriterion("operation_status <=", value, "operationStatus");
            return (Criteria) this;
        }

        public Criteria andOperationStatusIn(List<Integer> values) {
            addCriterion("operation_status in", values, "operationStatus");
            return (Criteria) this;
        }

        public Criteria andOperationStatusNotIn(List<Integer> values) {
            addCriterion("operation_status not in", values, "operationStatus");
            return (Criteria) this;
        }

        public Criteria andOperationStatusBetween(Integer value1, Integer value2) {
            addCriterion("operation_status between", value1, value2, "operationStatus");
            return (Criteria) this;
        }

        public Criteria andOperationStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("operation_status not between", value1, value2, "operationStatus");
            return (Criteria) this;
        }

        public Criteria andTerminalIdIsNull() {
            addCriterion("terminal_id is null");
            return (Criteria) this;
        }

        public Criteria andTerminalIdIsNotNull() {
            addCriterion("terminal_id is not null");
            return (Criteria) this;
        }

        public Criteria andTerminalIdEqualTo(Integer value) {
            addCriterion("terminal_id =", value, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdNotEqualTo(Integer value) {
            addCriterion("terminal_id <>", value, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdGreaterThan(Integer value) {
            addCriterion("terminal_id >", value, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("terminal_id >=", value, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdLessThan(Integer value) {
            addCriterion("terminal_id <", value, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdLessThanOrEqualTo(Integer value) {
            addCriterion("terminal_id <=", value, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdIn(List<Integer> values) {
            addCriterion("terminal_id in", values, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdNotIn(List<Integer> values) {
            addCriterion("terminal_id not in", values, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdBetween(Integer value1, Integer value2) {
            addCriterion("terminal_id between", value1, value2, "terminalId");
            return (Criteria) this;
        }

        public Criteria andTerminalIdNotBetween(Integer value1, Integer value2) {
            addCriterion("terminal_id not between", value1, value2, "terminalId");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeIsNull() {
            addCriterion("vehicle_type is null");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeIsNotNull() {
            addCriterion("vehicle_type is not null");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeEqualTo(Integer value) {
            addCriterion("vehicle_type =", value, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeNotEqualTo(Integer value) {
            addCriterion("vehicle_type <>", value, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeGreaterThan(Integer value) {
            addCriterion("vehicle_type >", value, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("vehicle_type >=", value, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeLessThan(Integer value) {
            addCriterion("vehicle_type <", value, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeLessThanOrEqualTo(Integer value) {
            addCriterion("vehicle_type <=", value, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeIn(List<Integer> values) {
            addCriterion("vehicle_type in", values, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeNotIn(List<Integer> values) {
            addCriterion("vehicle_type not in", values, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeBetween(Integer value1, Integer value2) {
            addCriterion("vehicle_type between", value1, value2, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("vehicle_type not between", value1, value2, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andPlatformIdIsNull() {
            addCriterion("platform_id is null");
            return (Criteria) this;
        }

        public Criteria andPlatformIdIsNotNull() {
            addCriterion("platform_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformIdEqualTo(Integer value) {
            addCriterion("platform_id =", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdNotEqualTo(Integer value) {
            addCriterion("platform_id <>", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdGreaterThan(Integer value) {
            addCriterion("platform_id >", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("platform_id >=", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdLessThan(Integer value) {
            addCriterion("platform_id <", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdLessThanOrEqualTo(Integer value) {
            addCriterion("platform_id <=", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdIn(List<Integer> values) {
            addCriterion("platform_id in", values, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdNotIn(List<Integer> values) {
            addCriterion("platform_id not in", values, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdBetween(Integer value1, Integer value2) {
            addCriterion("platform_id between", value1, value2, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdNotBetween(Integer value1, Integer value2) {
            addCriterion("platform_id not between", value1, value2, "platformId");
            return (Criteria) this;
        }

        public Criteria andNetStatusIsNull() {
            addCriterion("net_status is null");
            return (Criteria) this;
        }

        public Criteria andNetStatusIsNotNull() {
            addCriterion("net_status is not null");
            return (Criteria) this;
        }

        public Criteria andNetStatusEqualTo(Integer value) {
            addCriterion("net_status =", value, "netStatus");
            return (Criteria) this;
        }

        public Criteria andNetStatusNotEqualTo(Integer value) {
            addCriterion("net_status <>", value, "netStatus");
            return (Criteria) this;
        }

        public Criteria andNetStatusGreaterThan(Integer value) {
            addCriterion("net_status >", value, "netStatus");
            return (Criteria) this;
        }

        public Criteria andNetStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("net_status >=", value, "netStatus");
            return (Criteria) this;
        }

        public Criteria andNetStatusLessThan(Integer value) {
            addCriterion("net_status <", value, "netStatus");
            return (Criteria) this;
        }

        public Criteria andNetStatusLessThanOrEqualTo(Integer value) {
            addCriterion("net_status <=", value, "netStatus");
            return (Criteria) this;
        }

        public Criteria andNetStatusIn(List<Integer> values) {
            addCriterion("net_status in", values, "netStatus");
            return (Criteria) this;
        }

        public Criteria andNetStatusNotIn(List<Integer> values) {
            addCriterion("net_status not in", values, "netStatus");
            return (Criteria) this;
        }

        public Criteria andNetStatusBetween(Integer value1, Integer value2) {
            addCriterion("net_status between", value1, value2, "netStatus");
            return (Criteria) this;
        }

        public Criteria andNetStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("net_status not between", value1, value2, "netStatus");
            return (Criteria) this;
        }

        public Criteria andNetTimeIsNull() {
            addCriterion("net_time is null");
            return (Criteria) this;
        }

        public Criteria andNetTimeIsNotNull() {
            addCriterion("net_time is not null");
            return (Criteria) this;
        }

        public Criteria andNetTimeEqualTo(Date value) {
            addCriterion("net_time =", value, "netTime");
            return (Criteria) this;
        }

        public Criteria andNetTimeNotEqualTo(Date value) {
            addCriterion("net_time <>", value, "netTime");
            return (Criteria) this;
        }

        public Criteria andNetTimeGreaterThan(Date value) {
            addCriterion("net_time >", value, "netTime");
            return (Criteria) this;
        }

        public Criteria andNetTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("net_time >=", value, "netTime");
            return (Criteria) this;
        }

        public Criteria andNetTimeLessThan(Date value) {
            addCriterion("net_time <", value, "netTime");
            return (Criteria) this;
        }

        public Criteria andNetTimeLessThanOrEqualTo(Date value) {
            addCriterion("net_time <=", value, "netTime");
            return (Criteria) this;
        }

        public Criteria andNetTimeIn(List<Date> values) {
            addCriterion("net_time in", values, "netTime");
            return (Criteria) this;
        }

        public Criteria andNetTimeNotIn(List<Date> values) {
            addCriterion("net_time not in", values, "netTime");
            return (Criteria) this;
        }

        public Criteria andNetTimeBetween(Date value1, Date value2) {
            addCriterion("net_time between", value1, value2, "netTime");
            return (Criteria) this;
        }

        public Criteria andNetTimeNotBetween(Date value1, Date value2) {
            addCriterion("net_time not between", value1, value2, "netTime");
            return (Criteria) this;
        }

        public Criteria andPlatformId2IsNull() {
            addCriterion("platform_id2 is null");
            return (Criteria) this;
        }

        public Criteria andPlatformId2IsNotNull() {
            addCriterion("platform_id2 is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformId2EqualTo(String value) {
            addCriterion("platform_id2 =", value, "platformId2");
            return (Criteria) this;
        }

        public Criteria andPlatformId2NotEqualTo(String value) {
            addCriterion("platform_id2 <>", value, "platformId2");
            return (Criteria) this;
        }

        public Criteria andPlatformId2GreaterThan(String value) {
            addCriterion("platform_id2 >", value, "platformId2");
            return (Criteria) this;
        }

        public Criteria andPlatformId2GreaterThanOrEqualTo(String value) {
            addCriterion("platform_id2 >=", value, "platformId2");
            return (Criteria) this;
        }

        public Criteria andPlatformId2LessThan(String value) {
            addCriterion("platform_id2 <", value, "platformId2");
            return (Criteria) this;
        }

        public Criteria andPlatformId2LessThanOrEqualTo(String value) {
            addCriterion("platform_id2 <=", value, "platformId2");
            return (Criteria) this;
        }

        public Criteria andPlatformId2Like(String value) {
            addCriterion("platform_id2 like", value, "platformId2");
            return (Criteria) this;
        }

        public Criteria andPlatformId2NotLike(String value) {
            addCriterion("platform_id2 not like", value, "platformId2");
            return (Criteria) this;
        }

        public Criteria andPlatformId2In(List<String> values) {
            addCriterion("platform_id2 in", values, "platformId2");
            return (Criteria) this;
        }

        public Criteria andPlatformId2NotIn(List<String> values) {
            addCriterion("platform_id2 not in", values, "platformId2");
            return (Criteria) this;
        }

        public Criteria andPlatformId2Between(String value1, String value2) {
            addCriterion("platform_id2 between", value1, value2, "platformId2");
            return (Criteria) this;
        }

        public Criteria andPlatformId2NotBetween(String value1, String value2) {
            addCriterion("platform_id2 not between", value1, value2, "platformId2");
            return (Criteria) this;
        }

        public Criteria andRegionCodeIsNull() {
            addCriterion("region_code is null");
            return (Criteria) this;
        }

        public Criteria andRegionCodeIsNotNull() {
            addCriterion("region_code is not null");
            return (Criteria) this;
        }

        public Criteria andRegionCodeEqualTo(Integer value) {
            addCriterion("region_code =", value, "regionCode");
            return (Criteria) this;
        }

        public Criteria andRegionCodeNotEqualTo(Integer value) {
            addCriterion("region_code <>", value, "regionCode");
            return (Criteria) this;
        }

        public Criteria andRegionCodeGreaterThan(Integer value) {
            addCriterion("region_code >", value, "regionCode");
            return (Criteria) this;
        }

        public Criteria andRegionCodeGreaterThanOrEqualTo(Integer value) {
            addCriterion("region_code >=", value, "regionCode");
            return (Criteria) this;
        }

        public Criteria andRegionCodeLessThan(Integer value) {
            addCriterion("region_code <", value, "regionCode");
            return (Criteria) this;
        }

        public Criteria andRegionCodeLessThanOrEqualTo(Integer value) {
            addCriterion("region_code <=", value, "regionCode");
            return (Criteria) this;
        }

        public Criteria andRegionCodeIn(List<Integer> values) {
            addCriterion("region_code in", values, "regionCode");
            return (Criteria) this;
        }

        public Criteria andRegionCodeNotIn(List<Integer> values) {
            addCriterion("region_code not in", values, "regionCode");
            return (Criteria) this;
        }

        public Criteria andRegionCodeBetween(Integer value1, Integer value2) {
            addCriterion("region_code between", value1, value2, "regionCode");
            return (Criteria) this;
        }

        public Criteria andRegionCodeNotBetween(Integer value1, Integer value2) {
            addCriterion("region_code not between", value1, value2, "regionCode");
            return (Criteria) this;
        }

        public Criteria andTransCertificateCodeIsNull() {
            addCriterion("trans_certificate_code is null");
            return (Criteria) this;
        }

        public Criteria andTransCertificateCodeIsNotNull() {
            addCriterion("trans_certificate_code is not null");
            return (Criteria) this;
        }

        public Criteria andTransCertificateCodeEqualTo(String value) {
            addCriterion("trans_certificate_code =", value, "transCertificateCode");
            return (Criteria) this;
        }

        public Criteria andTransCertificateCodeNotEqualTo(String value) {
            addCriterion("trans_certificate_code <>", value, "transCertificateCode");
            return (Criteria) this;
        }

        public Criteria andTransCertificateCodeGreaterThan(String value) {
            addCriterion("trans_certificate_code >", value, "transCertificateCode");
            return (Criteria) this;
        }

        public Criteria andTransCertificateCodeGreaterThanOrEqualTo(String value) {
            addCriterion("trans_certificate_code >=", value, "transCertificateCode");
            return (Criteria) this;
        }

        public Criteria andTransCertificateCodeLessThan(String value) {
            addCriterion("trans_certificate_code <", value, "transCertificateCode");
            return (Criteria) this;
        }

        public Criteria andTransCertificateCodeLessThanOrEqualTo(String value) {
            addCriterion("trans_certificate_code <=", value, "transCertificateCode");
            return (Criteria) this;
        }

        public Criteria andTransCertificateCodeLike(String value) {
            addCriterion("trans_certificate_code like", value, "transCertificateCode");
            return (Criteria) this;
        }

        public Criteria andTransCertificateCodeNotLike(String value) {
            addCriterion("trans_certificate_code not like", value, "transCertificateCode");
            return (Criteria) this;
        }

        public Criteria andTransCertificateCodeIn(List<String> values) {
            addCriterion("trans_certificate_code in", values, "transCertificateCode");
            return (Criteria) this;
        }

        public Criteria andTransCertificateCodeNotIn(List<String> values) {
            addCriterion("trans_certificate_code not in", values, "transCertificateCode");
            return (Criteria) this;
        }

        public Criteria andTransCertificateCodeBetween(String value1, String value2) {
            addCriterion("trans_certificate_code between", value1, value2, "transCertificateCode");
            return (Criteria) this;
        }

        public Criteria andTransCertificateCodeNotBetween(String value1, String value2) {
            addCriterion("trans_certificate_code not between", value1, value2, "transCertificateCode");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}